Platform Explorer / Nuxeo Platform 2023.23

Operation NuxeoDrive.Move (Nuxeo Drive: Move)

Description

Move the document backing the file system item with the given source id to the document backing the file system item with the given destination id. Return the moved file system item as a JSON blob.
Operation id NuxeoDrive.Move
Category Services
Label Nuxeo Drive: Move
Requires
Since

Parameters

Name Description Type Required Default value
destId Id of the destination file system item. string yes  
srcId Id of the source file system item. string yes  

Signature

Inputs void
Outputs blob

Implementation Information

Implementation Class Class: org.nuxeo.drive.operations.NuxeoDriveMove
Contributing Component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON Definition

{
  "id" : "NuxeoDrive.Move",
  "label" : "Nuxeo Drive: Move",
  "category" : "Services",
  "requires" : null,
  "description" : "Move the document backing the file system item with the given source id to the document backing the file system item with the given destination id. Return the moved file system item as a JSON blob.",
  "url" : "NuxeoDrive.Move",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "destId",
    "description" : "Id of the destination file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "srcId",
    "description" : "Id of the source file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}